<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
        <style>
            *{
                margin: 0px;
               padding:0px;
               list-style: none;
                
            }
            nav{
                overflow: hidden;
            }
            ul{
                float: right;
            }
            li{
                float: left;
                margin-right: 10px;
                font-size: 14px;
            }
            .more{
                background:#38f;
            }
            h1{
                text-align: center;
            }
           h1 img{
                height: 140px;
            }
            p{
                text-align: center;
                font-size: 12px;
            }
            p a{
                text-decoration: none;
                color:#ccc;
                margin-right: 10px;
            }
            .search {
                width: 640px;
                height: 39px;
                background: red;
                margin:60px auto 120px;
                position: relative;
            }
            .search input{
                float: left;
                width: 539px;
                /* 内容的高，不包含边框和内边距 */
                height: 37px;
                border:1px solid red;
                /* 去除右边框 */
                border-right: none;
                outline: none;
            }
            .search button{
                float: right;
                width: 100px;
                height: 39px;
                background: #38f;
                border:none;
                /* 去除内边框 */
                outline: none; 
            }
            .search span{
                position: absolute;
                left: 510px;
                top:11px;
                width: 20px;
                height: 16px;
                background:url('images/camera_new_5606e8f.png') no-repeat 0px 0px;
            }
            i{
                display: inline-block;
                background:url('images/icons_5859e57.png') no-repeat ;
            }
            .foot{
                width: 17px;
                height: 16px;
                background-position: -596px -94px
            }
            .police{
                width: 17px;
                height: 16px;
                background-position: -620px -94px
            }
        </style>
    </head>
    <body>
        <nav>
            <ul>
                <li>糯米</li>
                <li>新闻</li>
                <li>hao123</li>
                <li>地图</li>
                <li>视频</li>
                <li>贴吧</li>
                <li>登录</li>
                <li>设置</li>
                <li class="more">更多产品</li>
            </ul>
        </nav>       
        <h1>
            <img src="images/bd_logo1.png" alt="">
        </h1>
        <div class="search">
            <input type="text">
            <button>百度一下</button>
            <span></span>
        </div>
        <p>
            <img src="images/zbios_efde696.png" alt="">
            <br>
            <span>手机百度</span>
        </p>
        <p>     <a href="">把百度设为主页关于百度About</a>  <a href="">Baidu百度推广<i class="foot"></i></a>           </p>
            <p> <a href="">?2016</a> <a href="">Baidu</a> <a href="">使用百度前必读</a> <a href="">意见反馈</a> <a href="">京ICP证030173号</a>  <a href="">京公网安备11000002000001号</a><i class="police"></i> </p>
    </body>
</html>
        